package com.junqson.je.recruit.client;

import com.junqson.je.common.model.ApiResult;
import com.junqson.je.common.model.vo.SimpleUserInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Descriptions
 * @Company
 * @Author Junqson
 * @Date 2020/2/6 0:55
 * @Version 1.0
 */
@FeignClient("je-user")
public interface UserClient {
    @GetMapping("/userInfo")
    ApiResult<SimpleUserInfo> userInfo(@RequestParam("userId") Integer userId);
}
